package org.example.service;

import com.github.pagehelper.PageInfo;
import org.example.entity.ClassAnswer;

import java.util.List;

/**
 * @ClassName ClassAnswerService
 * @Description TODO
 * @Author qiuye
 * @Date 2025年08月19日 0:37
 * @Version 1.0
 */
public interface ClassAnswerService {
    List<ClassAnswer> getClassAnswerById(int questionId);
    PageInfo<ClassAnswer> getClassAnswerHui(ClassAnswer classAnswer,int page ,int size);
    // 添加回复
    void addAnswer(ClassAnswer answer);

}
